package com.ourteam.workspace.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-11-30 18:42:24 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseWorkspaceResourceBusinessPackageRelateDAO
    extends IDataAccessInterface<
        WorkspaceResourceBusinessPackageRelate,
        WorkspaceResourceBusinessPackageRelateDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "WORKSPACE_RESOURCE_BUSINESS_PACKAGE_RELATE";

  /** Mapped Field ID */
  static final String Id = "WORKSPACE_RESOURCE_BUSINESS_PACKAGE_RELATE.ID";

  /** Mapped Field BUSINESS_PCAKAGE_ID */
  static final String BusinessPcakageId =
      "WORKSPACE_RESOURCE_BUSINESS_PACKAGE_RELATE.BUSINESS_PCAKAGE_ID";

  /** Mapped Field DESCRIPTION */
  static final String Description = "WORKSPACE_RESOURCE_BUSINESS_PACKAGE_RELATE.DESCRIPTION";

  /** Mapped Field STATUS */
  static final String Status = "WORKSPACE_RESOURCE_BUSINESS_PACKAGE_RELATE.STATUS";

  /** Mapped Field WORKSPACE_RESOURCE_ID */
  static final String WorkspaceResourceId =
      "WORKSPACE_RESOURCE_BUSINESS_PACKAGE_RELATE.WORKSPACE_RESOURCE_ID";

  /** Mapped Field LAST_GEN_CODE_TIME */
  static final String LastGenCodeTime =
      "WORKSPACE_RESOURCE_BUSINESS_PACKAGE_RELATE.LAST_GEN_CODE_TIME";

  /** Mapped Field SUBMITTER_ID */
  static final String SubmitterId = "WORKSPACE_RESOURCE_BUSINESS_PACKAGE_RELATE.SUBMITTER_ID";

  /** Mapped Field SUBMITTER_NAME */
  static final String SubmitterName = "WORKSPACE_RESOURCE_BUSINESS_PACKAGE_RELATE.SUBMITTER_NAME";

  /** Mapped Attribute resourceName */
  static final String ResourceName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.Name,
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.EntityName + ".",
          "RELATED_3CDJZY_WorkspaceResource.");

  /** Mapped Attribute resourceType */
  static final String ResourceType =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.ResourceType,
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.EntityName + ".",
          "RELATED_3CDJZY_WorkspaceResource.");

  /** Mapped Attribute resourcePath */
  static final String ResourcePath =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.ResourcePath,
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.EntityName + ".",
          "RELATED_3CDJZY_WorkspaceResource.");

  /** Mapped Attribute workspaceId */
  static final String WorkspaceId =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.WorkspaceId,
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.EntityName + ".",
          "RELATED_3CDJZY_WorkspaceResource.");

  /** Mapped Attribute resourceOrderIndex */
  static final String ResourceOrderIndex =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.OrderIndex,
          com.ourteam.workspace.dao.IWorkspaceResourceDAO.EntityName + ".",
          "RELATED_3CDJZY_WorkspaceResource.");

  /** Mapped Attribute businessPackageName */
  static final String BusinessPackageName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.model.dao.IProductModelPackageDAO.PackageName,
          com.ourteam.product.model.dao.IProductModelPackageDAO.EntityName + ".",
          "Product_Model_Package.");

  /** Mapped Attribute businessPackageType */
  static final String BusinessPackageType =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.model.dao.IProductModelPackageDAO.PackageType,
          com.ourteam.product.model.dao.IProductModelPackageDAO.EntityName + ".",
          "Product_Model_Package.");

  /** Mapped Attribute businessDomainId */
  static final String BusinessDomainId =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.model.dao.IProductModelPackageDAO.DomainId,
          com.ourteam.product.model.dao.IProductModelPackageDAO.EntityName + ".",
          "Product_Model_Package.");

  /** Mapped Attribute businessDomainName */
  static final String BusinessDomainName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.model.dao.IProductModelDomainDAO.DomainName,
          com.ourteam.product.model.dao.IProductModelDomainDAO.EntityName + ".",
          "product_model_domain.");

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute businessPcakageId */
    static final String BusinessPcakageId = "businessPcakageId";

    /** Attribute description */
    static final String Description = "description";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute workspaceResourceId */
    static final String WorkspaceResourceId = "workspaceResourceId";

    /** Attribute businessPackageName */
    static final String BusinessPackageName = "businessPackageName";

    /** Attribute businessDomainName */
    static final String BusinessDomainName = "businessDomainName";

    /** Attribute businessDomainId */
    static final String BusinessDomainId = "businessDomainId";

    /** Attribute businessPackageType */
    static final String BusinessPackageType = "businessPackageType";

    /** Attribute resourceName */
    static final String ResourceName = "resourceName";

    /** Attribute resourceType */
    static final String ResourceType = "resourceType";

    /** Attribute resourcePath */
    static final String ResourcePath = "resourcePath";

    /** Attribute workspaceId */
    static final String WorkspaceId = "workspaceId";

    /** Attribute resourceOrderIndex */
    static final String ResourceOrderIndex = "resourceOrderIndex";

    /** Attribute lastGenCodeTime */
    static final String LastGenCodeTime = "lastGenCodeTime";

    /** Attribute submitterId */
    static final String SubmitterId = "submitterId";

    /** Attribute submitterName */
    static final String SubmitterName = "submitterName";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  WorkspaceResourceBusinessPackageRelate findById(final long id) throws Exception;
}
